/* eslint-disable */
import { request } from '@umijs/max';


/** 获取当前分支 */
export const getBrancheName = async (params) => {
  return request('/glb/getBrancheName', {
    method: 'GET',
    params,
  });
}

/** 获取当前分支 */
export const getBranches = async (params) => {
  return request('/glb/getBranches', {
    method: 'GET',
    params,
  });
}

/** 切换分支 */
export const checkoutBranche = async (params) => {
  return request('/glb/checkoutBranche', {
    method: 'GET',
    params,
  });
}
/** 打包下载 */
export const build = async (params) => {
  return request('/glb/build', {
    method: 'GET',
    params,
  });
}